Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: pylint with modern pylintrc #189

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

rjsparks
Copy link
Member

@rjsparks rjsparks commented Sep 5, 2024

Compare to #188.
Instead of fixing that old .pylintrc, start with a default generated one and change it into what we want.

Copy link
Member

@jennifer-richards jennifer-richards left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems ok. It only explicitly sets up pylint for vscode, but that seems ok. It's present on the image by default and I haven't bothered committing pycharm configurations to the project so far...

There are a whole lot of violations:

Pylint found 98 errors, 249 warnings, 514 conventions, 291 refactors  in 96 files

Should we tweak the rules a bit now or commit this and adjust as we go? A lot of the complaints are obvious false alarms (migration filenames don't conform to snake case, SomeClass = apps.get_model(...) is mistaken for a variable name, etc)

@rjsparks rjsparks marked this pull request as draft September 9, 2024 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants